c493cd3bcc47fa3c0b04eeb21366e05863bb21f5,src/java/org/apache/hadoop/hbase/client/Scan.java,Scan,write,#DataOutput#,513
Before Change
if(this.filter == null) {
out.writeBoolean(false);
} else {
out.writeBoolean(true);
HbaseObjectWritable.writeObject(out, this.filter,
Filter.class, null);
}
if (this.oldFilter == null) {
out.writeBoolean(false);
After Change
}
}
public void write(final DataOutput out)
throws IOException {
Bytes.writeByteArray(out, this.startRow);
Bytes.writeByteArray(out, this.stopRow);
out.writeInt(this.maxVersions);
if(this.filter == null) {
out.writeBoolean(false);
} else {
out.writeBoolean(true);
Bytes.writeByteArray(out, Bytes.toBytes(filter.getClass().getName()));
filter.write(out);
}
if (this.oldFilter == null) {
out.writeBoolean(false);